government = monarchy
add_government_reform = feudalism_reform
technology_group = western
primary_culture = bavarian
religion = catholic
capital = 65
1503.12.1 = {
  monarch = {
    name = "000000 IV fP"  # Albrecht IV der Weise
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1447.12.15
    adm = 5
    dip = 3
    mil = 2
  }
  queen = {
    country_of_origin = HAB
    name = "00000"  # Kunigunde
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1465.3.16
    death_date = 1520.8.6
    female = yes
    adm = 3
    dip = 3
    mil = 2
  }
  heir = {
    name = "000000"  # Wilhelm
    monarch_name = "000000 IV"  # Wilhelm IV
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1493.11.13
    death_date = 1550.3.7
    claim = 95
    adm = 4
    dip = 1
    mil = 2
  }
}
1508.3.19 = {
  monarch = {
    name = "000000 IV"  # Wilhelm IV
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1493.11.13
    adm = 4
    dip = 1
    mil = 2
  }
}
1522.10.5 = {
  queen = {
    country_of_origin = BAD
    name = "00000"  # Kunigunde
    dynasty = "00000000000"  # von Zhringen
    birth_date = 1507.6.25
    death_date = 1580.11.16
    female = yes
    adm = 2
    dip = 2
    mil = 1
  }
}
1528.2.28 = {
  heir = {
    name = "000000"  # Albrecht
    monarch_name = "000000 V"  # Albrecht V
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1528.2.28
    death_date = 1579.10.24
    claim = 95
    adm = 2
    dip = 3
    mil = 0
  }
}
1550.3.7 = {
  monarch = {
    name = "000000 V"  # Albrecht V
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1528.2.28
    adm = 2
    dip = 3
    mil = 0
  }
  queen = {
    country_of_origin = HAB
    name = "000"  # Anna
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1528.7.7
    death_date = 1590.10.16
    female = yes
    adm = 3
    dip = 3
    mil = 1
  }
}
1550.3.7 = {
  heir = {
    name = "000000"  # Wilhelm
    monarch_name = "000000 V"  # Wilhelm V
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1548.9.29
    death_date = 1626.2.7
    claim = 95
    adm = 4
    dip = 1
    mil = 1
  }
}
1579.10.25 = {
  monarch = {
    name = "000000 V"  # Wilhelm V
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1548.9.29
    adm = 4
    dip = 1
    mil = 1
  }
  queen = {
    country_of_origin = LOR
    name = "0000"  # Renata
    dynasty = "00000000"  # de Vaudmont
    birth_date = 1544.4.20
    death_date = 1602.5.22
    female = yes
    adm = 3
    dip = 3
    mil = 1
  }
}
1579.10.25 = {
  heir = {
    name = "0000000"  # Maximilian
    monarch_name = "0000000 I"  # Maximilian I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1573.4.17
    death_date = 1651.9.27
    claim = 95
    adm = 2
    dip = 4
    mil = 0
  }
}
1597.10.16 = {
  monarch = {
    name = "0000000 I"  # Maximilian I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1573.4.17
    adm = 2
    dip = 4
    mil = 0
  }
  queen = {
    country_of_origin = LOR
    name = "000000"  # Elisabeth
    dynasty = "00000000"  # de Vaudmont
    birth_date = 1574.10.9
    death_date = 1635.1.4
    female = yes
    adm = 2
    dip = 2
    mil = 1
  }
}
1609.1.1 = {
  leader = {
    name = "0000"  # Tilly
    type = general
    fire = 4
    shock = 4
    manuever = 3
    siege = 1
    death_date = 1632.4.30
  }
}
1609.7.1 = {
  join_league = catholic
}
1623.1.1 = {
  elector = yes
}
1630.1.1 = {
  leader = {
    name = "0000"  # Mercy
    type = general
    fire = 3
    shock = 3
    manuever = 1
    siege = 0
    death_date = 1645.8.3
  }
}
1635.1.1 = {
  leader = {
    name = "00000000"  # von Werth
    type = general
    fire = 3
    shock = 2
    manuever = 4
    siege = 0
    death_date = 1652.9.16
  }
}
1635.7.15 = {
  queen = {
    country_of_origin = HAB
    name = "0000000"  # Maria Anna
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1610.3.13
    death_date = 1665.9.25
    female = yes
    adm = 4
    dip = 3
    mil = 1
  }
}
1636.10.31 = {
  heir = {
    name = "000000000000"  # Ferdinand Maria
    monarch_name = "000000000000 I"  # Ferdinand Maria I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1636.10.31
    death_date = 1679.5.26
    claim = 95
    adm = 4
    dip = 2
    mil = 3
  }
}
1641.1.1 = {
  leader = {
    name = "000000000"  # Grnsfeld
    type = general
    fire = 2
    shock = 2
    manuever = 2
    siege = 0
    death_date = 1660.1.1
  }
}
1647.3.15 = {
  leave_league = catholic
}
1651.9.28 = {
  monarch = {
    name = "000000000000 I"  # Ferdinand Maria I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1636.10.31
    adm = 4
    dip = 2
    mil = 3
  }
  queen = {
    country_of_origin = SAV
    name = "0000000000000"  # Henrietta Adelaide
    dynasty = "00000000"  # di Savoia
    birth_date = 1636.11.6
    death_date = 1676.6.13
    female = yes
    adm = 4
    dip = 3
    mil = 1
  }
}
1662.7.11 = {
  heir = {
    name = "0000000000000"  # Maximilian Emanuel
    monarch_name = "0000000 II 00000"  # Maximilian II Emanuel
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1662.7.11
    death_date = 1726.2.26
    claim = 95
    adm = 6
    dip = 3
    mil = 2
    leader = {
      name = "0000000 II 00000"  # Max II Emmanuel
      type = general
      fire = 2
      shock = 3
      manuever = 3
      siege = 0
    }
  }
}
1679.5.27 = {
  monarch = {
    name = "0000000 II 00000"  # Maximilian II Emanuel
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1662.7.11
    adm = 4
    dip = 3
    mil = 2
    leader = {
      name = "0000000 II 00000"  # Max II Emmanuel
      type = general
      fire = 2
      shock = 3
      manuever = 3
      siege = 0
    }
  }
}
1685.7.15 = {
  queen = {
    country_of_origin = HAB
    name = "000000000"  # Maria Antonia
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1669.1.18
    death_date = 1692.12.24
    female = yes
    adm = 2
    dip = 2
    mil = 1
  }
}
1695.1.2 = {
  queen = {
    country_of_origin = PLC
    name = "000000000"  # Theresa Kunigunde
    dynasty = "00000"  # Sobieski
    birth_date = 1669.1.18
    death_date = 1692.12.24
    female = yes
    adm = 3
    dip = 2
    mil = 1
  }
}
1697.8.6 = {
  heir = {
    name = "0000000000"  # Karl Albrecht
    monarch_name = "0000000000 I"  # Karl Albrecht I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1697.8.6
    death_date = 1745.1.20
    claim = 95
    adm = 2
    dip = 3
    mil = 1
  }
}
1706.1.1 = {
  elector = no
}
1714.1.1 = {
  elector = yes
}
1726.2.25 = {
  monarch = {
    name = "0000000000 I"  # Karl Albrecht I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1697.8.6
    adm = 2
    dip = 3
    mil = 1
  }
  queen = {
    country_of_origin = HAB
    name = "000000000"  # Maria Amalia
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1701.10.22
    death_date = 1756.12.11
    female = yes
    adm = 3
    dip = 3
    mil = 1
  }
}
1727.3.28 = {
  heir = {
    name = "000000000000"  # Maximilian Joseph
    monarch_name = "0000000 III 0000"  # Maximilian III Joseph
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1727.3.28
    death_date = 1777.12.30
    claim = 95
    adm = 0
    dip = 1
    mil = 3
  }
}
1740.1.1 = {
  leader = {
    name = "0000000"  # Seckendorf
    type = general
    fire = 3
    shock = 3
    manuever = 3
    siege = 0
    death_date = 1763.11.23
  }
}
1745.1.21 = {
  monarch = {
    name = "0000000 III 0000"  # Maximilian III Joseph
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1727.3.28
    adm = 0
    dip = 1
    mil = 3
  }
}
1745.1.21 = {
  heir = {
    name = "000000000"  # Karl Theodor
    monarch_name = "000000000 I"  # Karl Theodor I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1724.12.11
    death_date = 1799.2.16
    claim = 65
    adm = 3
    dip = 4
    mil = 0
  }
}
1747.7.9 = {
  queen = {
    country_of_origin = SAX
    name = "0000000"  # Maria Anna
    dynasty = "0000000000"  # von Wettin
    birth_date = 1728.8.29
    death_date = 1797.2.17
    female = yes
    adm = 3
    dip = 3
    mil = 1
  }
}
1777.12.30 = {
  monarch = {
    name = "000000000 I"  # Karl Theodor I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1724.12.11
    adm = 3
    dip = 4
    mil = 0
  }
  queen = {
    country_of_origin = PAL
    name = "000000000000"  # Elisabeth Auguste
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1721.1.17
    death_date = 1794.8.17
    female = yes
    adm = 2
    dip = 2
    mil = 1
  }
}
1777.12.30 = {
  heir = {
    name = "000000000000"  # Maximilian Joseph
    monarch_name = "0000000 IV 0000"  # Maximilian IV Joseph
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1756.5.27
    death_date = 1825.10.13
    claim = 95
    adm = 5
    dip = 5
    mil = 2
  }
}
1795.2.15 = {
  queen = {
    country_of_origin = HAB
    name = "000000000000"  # Maria Leopoldina
    dynasty = "0000000000"  # von Habsburg
    birth_date = 1776.12.10
    death_date = 1848.6.23
    female = yes
    adm = 1
    dip = 1
    mil = 1
  }
}
1799.2.15 = {
  monarch = {
    name = "0000000 IV 0000"  # Maximilian IV Joseph
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1756.5.27
    adm = 5
    dip = 5
    mil = 2
  }
  queen = {
    country_of_origin = BAD
    name = "00000"  # Karoline
    dynasty = "00000000000"  # von Zhringen
    birth_date = 1776.6.13
    death_date = 1841.11.13
    female = yes
    adm = 2
    dip = 2
    mil = 1
  }
  heir = {
    name = "000000"  # Ludwig
    monarch_name = "000000 I"  # Ludwig I
    dynasty = "0000000000000"  # von Wittelsbach
    birth_date = 1786.8.25
    death_date = 1868.2.28
    claim = 95
    adm = 3
    dip = 3
    mil = 2
  }
}
1806.7.12 = {
  elector = no
  government_rank = 1
}
1813.10.20 = {
  government_rank = 2
}